home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Directorty Opus 5 - Magellan 2
/
Opus 5 - Magellan 2.iso
/
Extras
/
ArcByName
/
ArcByName.doc
next >
Wrap
Text File
|
1995-09-28
|
5KB
|
162 lines
************************** DOCUMENTATION FILE FOR *************************
ArcByName.DOpus5
V1.0
by Willy Gwerder
for DirectoryOpus V5.11
with LhA and/or LZX
************************* written by Willy Gwerder ************************
Did you ever want to...
-----------------------
...archive a row of directories or files as separate archives with your
DirectoryOpus5? So you've surely recognized that it is quite laborious to
give a name for each archive. The problem's solution is this AREXX-program
for DOpus5.
What it does
------------
With ArcByName you can archive the selected entries (this can be files or
directories) by copying or moving them with LhA/LZX to the current
destination. The archives will have the same name as the original entries
but with the extension .lha or .lzx.
Requirements
------------
- An Amiga.
(For best performance one with a 68060 processor, a hyperfast graphiccard
with a resolution of 1600X1280 and a one gigabyte harddrive. But actually
it will do if you meet the requirements of DOpus5).
- Directory Opus 5.11
- The archiver programs Lha and/or LZX in your c: directory.
Installation
------------
I suggest you copy ArcByName.DOpus5 to the ARexx drawer in your DOpus5:
directory. You can put it on a button or into the user-menu. Read your
DOpus manual to see how to do this. Don't forget to set the cycle-gadget of
the function editor to Arexx! Call ArcByName with the following arguments:
ArcByName.DOpus5 lha {Qp} or
ArcByName.DOpus5 lzx {Qp}
As you can see, you have the choice between lha or lzx as archiver program.
(If you like both, define two buttons, one with lha, the other with lzx).
The argument {Qp} is needed to find DOpus' ARexx-port. If you leave it
away, the programm will use the port of the first started DOpus5 (DOPUS.1).
How to use it
-------------
It is just like copying or moving files. Select your source and
destination, mark the entries you want to process and start ArcByName. A
Requester will popup and ask:
"Delete source-files after archiving?"
You can either select YES or NO. If you hit NO, the selected entries will
be copied (as archives) to your destination. If you hit YES, another
requester will pop up and ask:
"Are you sure???"
Click YES and the files will be MOVED to the destination. Click NO to go
back to the first requester.
If you got through all those requesters the archiving starts. A progress
indicator and an output-window will be opened. The output-window shows the
file that's archived at the moment. The progress indicator shows the
processed entry.
Note that the entries appearing in the destination directory are only
temporary as long as the program runs. Instead of the file size the number
of the processed entry will be shown. When the job is done the directory
will be rescanned to get the correct sizes.
Source- and destination directory can be the same. This is especially
useful with the "delete source-files" option to shrink a directory.
Note: Because selected directories are only deleted if they were archived
entirely before, get sure you have enough free disk space.
The XXX.info files don't need to be selected, because they are included
into the archive automatically, but of course it doesn't matter if you do
select them. However, you cannot make an archive only from an *.info file.
(It wouldn't be very sensible anyway). The program just overrides entries
like this.
How to abort
-------------
There are two ways to abort the program:
1st: You can stop the program by clicking ABORT in the progress indicator.
This will stop the archiver as soon as it tries to access the next selected
entry. So if you're processing bigger directories it may take a while.
2nd: If you want to stop processing immediately, then click into the
output-window to activate it (the pointer is no longer busy now) and press
CTRL-C. The window will close immediately. The incomplete archive will not
be saved and (of course) the source file will NOT be deleted.
Legal Stuff
-----------
You use the program at your own risk. I cannot be made responsible for any
damage or lost data caused by this program.
ArcByName is Public Domain and may not be sold for profit. You can copy,
spread and/or alter it. The two doc files (english and german) must be
included.
If you alter the program text and want to spread it afterwards, so please
remark the changes in the doc-file. Feel free to send me a copy of the
program to show me the improvements :-). If you have any bug reports or
ideas for improvements please contact me. My address:
Willy Gwerder
Grundstrasse 97
6430 Schwyz
Switzerland
e-mail: eagwerde@ztl.ch
ArcByName may also be seen as "Cardware" or "e-mail-ware", so if you like
it, send me a nice postcard or drop me a line by e-mail.
History
-------
This Program is based on V1.2 of my ARexx-program LhAByName.rexx for DOpus
4.11 from 30.09.1994.
29.09.1995 V1.0 First public release
Tests
-----
This program has been tested in many ways on my:
A4000/40
with Directory Opus V5.11 (german version)
LhA V1.38e
LZX V1.20e version for 68040/68060